Traffic Performance Optimization Sample Configuration


Traffic Performance Optimization Sample Configuration
 
 
The following is a sample TPO configuration.
active-charging service service_1
  ruledef ch_dns
     dns any-match = TRUE
     exit
  ruledef ch_http
     http any-match = TRUE
     exit
  ruledef rt_dns
     tcp either-port = 53
     udp either-port = 53
     rule-application routing
     multi-line-or all-lines
     exit
  ruledef rt_http
     tcp either-port = 80
     rule-application routing
     exit
  ruledef tpo_url2
     www url contains worldrediff
     www url contains info
     www url contains match
     www url contains zedo
     multi-line-or all-lines
     exit
  ruledef url_fil
     www url contains ad
     www url contains dynamic
     multi-line-or all-lines
     exit
  charging-action ca_nothing
     content-id 5
     exit
  rulebase rulebase_1
     action priority 10 ruledef ch_dns charging-action ca_nothing
     action priority 15 ruledef ch_http charging-action ca_nothing
     route priority 25 ruledef rt_dns analyzer dns
     route priority 30 ruledef rt_http analyzer http
     exit
  rulebase default
     exit
  tpo profile ad-fil
     http ad-filter display text-only AdsFilTextOnly
     http params ad-filter display bgcolor ff00cc
     exit
  tpo profile ad-fil2
     http ad-filter display text-with-click AdsFilteredByTPO
     http params ad-filter display bgcolor 11bbcc
     exit
  tpo profile tpo
     tcp congestion-control westwood-plus
     tcp handoff-optimization
     tcp bandwidth 960
     tcp initial-window dynamic bdp-percent 90
     http compression
     http url-rewrite
     http params compression level 9
     http params url-rewrite prefix url_rewrite_prefix
     http ad-filter display text-with-click AdFilterDefault
     http params ad-filter display bgcolor ff00ff
     exit
  tpo policy tpolicy
     ad-filter ad-click-identity ad_click_identity
     match-ad priority 2 tpo-ruledef tpo_url2
     match-ad priority 10 tpo-ruledef url_fil
     match-rule priority 10 tpo-ruledef url_fil tpo profile ad-fil
     match-rule priority 20 tpo-ruledef tpo_url2 tpo profile ad-fil2
     match-rule no-ruledef-match tpo profile tpo
     end
#configuring DNS in ISP (destination) context
context isp
  interface intDns
     ip address 1.1.1.1 255.255.255.0
     exit
  ip domain-lookup
  ip name-servers 2.2.2.2
  dns-client dnshttp
     bind address 3.3.3.3
     round-robin-answers
     end
 
 
 
 

Cisco Systems Inc.
Tel: 408-526-4000
Fax: 408-527-0883